@charset "utf-8";
@base-color: #2D8CF0;
@border-color: #eef2f8;
@font-color: #314659;
body {
    min-height: 100% !important;
    color: @font-color  !important;
    font-family: 'Lato', "PingFang SC", "Microsoft YaHei", sans-serif !important;
}

a {
    transition: all 0.3s ease !important;
    &:hover {
        color: @base-color  !important;
        text-decoration: none !important;
    }
}

.blogStats,
.dayTitle,
.c_ad_block,
#sidebar_search,
#ad_t2,
#ad_c1,
#ad_c2,
#under_post_news,
#under_post_kb,
#comment_form_container p:nth-of-type(3),
#homepage_top_pager,
#author_profile,
#green_channel,
#blogTitle h2,
#blogCalendar,
#sidebar_shortcut,
#sidebar_recentposts,
#sidebar_scorerank,
#sidebar_recentcomments,
#sidebar_topcommentedposts,
#sidebar_postarchive {
    display: none;
}

#home {
    width: 100%;
}

/* 页头 */

#header {
    width: 960px;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    margin: 0 auto;
    border-top: 0px;
    background: rgba(255, 255, 255, .95);
    border-bottom: 1px @border-color solid;
    padding-bottom: 0px;
    display: block;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .5);
    height: 60px;
    z-index: 941112;
    #blogTitle {
        position: relative;
        height: 60px;
        h1 {
            font-size: 25px;
            font-family: 'Georgia';
            width: auto;
            margin-left: 0px;
            margin-top: 12px;
            padding-left: 15px;
            a {
                color: #404040;
                &:hover {
                    color: #404040;
                    text-decoration: none;
                }
            }
        }
    }
    #navigator {
        height: inherit;
        position: absolute;
        right: 0px;
        top: 0px;
        background-color: transparent;
        display: inline-block;
        z-index: 999;
    }
    #navList {
        height: inherit;
        li {
            position: relative;
            &:hover i {
                width: 100%;
                left: 0;
            }
            #blog_nav_tags {
                display: none;
            }
            i {
                width: 0;
                height: 4px;
                background-color: @base-color;
                content: "";
                position: absolute;
                left: 50%;
                bottom: 0;
                transition: 1s;
            }
        }
        a {
            &:link,
            &:visited,
            &:active {
                font-size: 16px;
                padding-top: 0px;
                border-right: 0px;
                color: @font-color;
                display: block;
                font-weight: 300;
                padding: 20px 0;
                height: inherit;
                -webkit-transition: all .3s;
                transition: all .3s;
            }
            &:hover {
                background: transparent;
            }
        }
    }
}

/* 主体 */

#main {
    width: 960px;
    margin: 0 auto;
    min-height: 750px;
    padding: 70px 10px 0px 10px;
    animation-name: fadeIn;
    animation-duration: 1s;
    animation-iteration-count: 1;
    -webkit-animation-name: fadeIn;
    -webkit-animation-duration: 1s;
    -webkit-animation-iteration-count: 1;
    #mainContent {
        background-color: transparent;
        .forFlow {
            margin: 0px auto;
            margin-left: 0px;
            max-width: 960px;
            .c_b_p_desc a {
                border: 1px solid;
                border-radius: 3px;
                padding: 2px 9px;
                font-size: 13px;
                margin-top: 10px;
                text-decoration: none;
                display: table;
                color: @font-color;
                border-color: @font-color;
                &:after {
                    content: ' »';
                }
                &:hover {
                    color: @base-color  !important;
                    border: 1px solid @base-color;
                }
            }
        }
    }
}

/* 侧边栏 */

#sideBar {
    border-right: 1px solid @border-color;
    font-weight: 300;
    display: none;
    min-height: 750px;
    padding: 0px;
    .newsItem {
        padding: 0px;
        color: @font-color;
        #blog-news {
            font-size: 15px;
            padding: 0 0 0 20px;
            a {
                color: @font-color;
            }
        }
    }
}

.catListTitle {
    color: @font-color;
    text-align: left;
    margin-top: 25px;
    padding-left: 23px;
    font-size: 20px;
    font-weight: 300;
    border-bottom: none;
}

#sidebar_toptags .catListTitle {
    background: url("") no-repeat scroll 0% 50%;
}

#sidebar_categories .catListTitle {
    background: url("") no-repeat scroll 0% 50%;
}

#sidebar_topviewedposts .catListTitle {
    background: url("") no-repeat scroll 0% 50%;
}

#sidebar_topdiggedposts .catListTitle {
    background: url("") no-repeat scroll 0% 50%;
}

#sidebar_toptags li,
#sidebar_categories li {
    font-size: 15px;
    height: 40px;
    margin: 0;
    padding-left: 23px;
    padding-right: 15px;
    line-height: 42px;
    color: @font-color;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#sidebar_topviewedposts li,
#sidebar_topdiggedposts li {
    margin: 8px 0;
    font-size: 15px;
    padding-left: 23px;
    padding-right: 15px;
    color: @font-color;
    text-align: justify;
    a {
        &:link,
        &:visited,
        &:active,
        &:hover {
            color: @font-color;
            text-align: justify;
        }
    }
}

#sidebar_toptags li>a:link,
#sidebar_toptags li>a:visited,
#sidebar_toptags li>a:active,
#sidebar_categories li>a:link,
#sidebar_categories li>a:visited,
#sidebar_categories li>a:active {
    color: @font-color;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#sidebar_toptags li:hover,
#sidebar_categories li:hover {
    margin-left: 10px;
    background-color: #f7f7f7;
    border-radius: 5px;
    margin: 0 5px;
    font-size: 17px;
}

.entrylistTitle,
.PostListTitle,
.thumbTitle,
#myposts .myposts_title,
#taglist_title {
    padding-bottom: 3px;
    padding-right: 10px;
    width: 100%;
    color: @font-color;
    text-align: left;
    border-bottom: 0px !important;
    font-size: 23px;
    font-weight: 300;
}

#myposts {
    margin-left: 0px;
    .PostList {
        font-size: 13px;
        border-bottom: 1px solid @border-color;
        padding: 6px 0px 10px 0px;
        margin-right: 0px;
    }
    .pager:first-of-type {
        display: none;
    }
    a {
        &:link,
        &:visited {
            color: @font-color;
        }
    }
}

.day,
.entrylistItem {
    width: auto;
    border-bottom: 1px solid @border-color;
    padding: 10px 0px 15px 0px;
    text-align: justify;
}

.day .postSeparator {
    margin-top: 15px;
    margin-bottom: 25px;
    border-top: 1px solid @border-color;
}

.postTitle,
.entrylistPosttitle {
    font-size: 15px;
    font-weight: 300;
    border-bottom: none !important;
    font-family: Lato, "Microsoft Jhenghei", "Hiragino Sans GB", "Microsoft YaHei", sans-serif !important;
}

.postTitle {
    padding-left: 15px !important;
    font-size: 22px !important;
}

.entrylistPosttitle {
    padding-left: 0px !important;
    font-size: 22px !important;
}

.postTitle>a:active,
.postTitle>a:link,
.postTitle>a:visited,
.entrylistPosttitle>a:active,
.entrylistPosttitle>a:link,
.entrylistPosttitle>a:visited {
    font-size: 20px;
    font-weight: bold;
    color: #2c3e50;
    -webkit-transition: all .3s;
    transition: all .3s;
}

.postTitle>a:hover,
.entrylistPosttitle>a:hover {
    color: @base-color;
}

.postBody {
    padding: 5px 15px;
    line-height: 1.5;
    color: @font-color;
    border-bottom: 1px solid @border-color;
    a {
        &:link,
        &:visited,
        &:active {
            color: @base-color;
            text-decoration: none;
        }
    }
    ul,
    ol {
        li {
            margin: 5px 0px;
            font-size: 15px;
            color: @font-color;
            p {
                margin: 0px !important;
            }
        }
    }
}

.postCon,
.entrylistPostSummary {
    font-size: 16px;
    font-weight: 300;
    color: @font-color;
    font-family: inherit;
    .c_b_p_desc {
        img {
            height: 100px;
            margin-left: 10px;
        }
    }
}

.postBodyHeader (@fontSize: 20px) {
    font-size: @fontSize;
    font-family: Lato, "Microsoft Jhenghei", "Hiragino Sans GB", "Microsoft YaHei", sans-serif !important;
    color: #2c3e50;
    margin: 15px 0px;
}

#cnblogs_post_body {
    h1 {
        .postBodyHeader(22px);
    }
    h2 {
        .postBodyHeader(20px);
    }
    h3 {
        .postBodyHeader(18px);
    }
    h4,
    h5,
    h6 {
        .postBodyHeader(16px);
    }
    p {
        font-size: 15px !important;
        color: @font-color;
        line-height: 1.7;
        font-weight: normal;
        // text-align: justify;
        margin: 15px auto;
    }
    blockquote {
        border: none;
        padding: 0 0 0 10px;
        min-height: 30px;
        background: transparent;
        border-left: 4px solid #ebedf0;
    }
    em {
        padding-right: 3px;
    }
    img {
        max-width: 930px;
        display: block;
        margin: 0 auto;
    }
    table {
        font-size: 13px;
        border-collapse: collapse;
        border-spacing: 0;
        empty-cells: show;
        border: 1px solid #e9e9e9;
        width: 100%;
        margin-bottom: 24px;
        th {
            font-family: inherit;
            font-size: inherit;
            background: #f7f7f7;
            white-space: nowrap;
            color: #5c6b77;
            font-weight: 600;
            border: 1px solid #e9e9e9;
            padding: 8px 16px;
        }
        td {
            border: 1px solid #e9e9e9;
            padding: 8px 16px;
        }
    }
}

#cnblogs_post_body {
    h1 code,
    h2 code,
    h3 code,
    h4 code,
    h5 code,
    h6 code,
    p code,
    li code,
    table code {
        color: @font-color;
        line-height: 1;
        font-family: consolas !important;
        vertical-align: middle;
        margin: 0 3px;
        background: #f2f4f5;
        font-size: 14px !important;
        padding: .2em .3em !important;
        border-radius: 3px !important;
        border: 1px solid #eee !important;
    }
    .cnblogs_code {
        background-color: #f2f4f5 !important;
        border: none !important;
        border-radius: 2px !important;
        img {
            display: inline;
        }
        pre,
        span {
            font-family: Lucida Console, Consolas, Monaco, Andale Mono, Ubuntu Mono, monospace !important;
        }
        .cnblogs_code_collapse {
            padding: 4px 3px 3px 3px;
            border: 1px solid #d0d0d0;
            border-radius: 2px;
        }
    }
}

#BlogPostCategory a {
    margin-left: 5px;
}

#footer {
    border-top: 1px solid @border-color;
    font-weight: 300;
    div {
        margin: 5px auto;
    }
    &:after {
        content: url("")
    }
}

/* 代码块 */

.cnblogs-markdown pre {
    white-space: pre !important;
    position: relative !important;
}

.cnblogs-markdown .hljs {
    display: block !important;
    overflow-x: auto !important;
    padding: 1em !important;
    background: #282c34 !important;
    border: 1px solid #fff !important;
    border-radius: 4px !important;
    font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace !important;
    font-size: 15px !important;
}

.hljs,
.hljs-tag,
.hljs-subst {
    color: #f8f8f2 !important;
}

.hljs-strong,
.hljs-emphasis {
    color: #a8a8a2 !important;
}

.hljs-bullet,
.hljs-quote,
.hljs-number,
.hljs-literal,
.hljs-link {
    color: #ae81ff !important;
}

.hljs-regexp,
.hljs-meta {
    color: #fd971f !important;
}

.hljs-code,
.hljs-title,
.hljs-section,
.hljs-built_in,
.hljs-builtin-name,
.hljs-selector-class {
    color: #a6e22e !important;
}

.hljs-strong {
    font-weight: bold;
}

.hljs-emphasis {
    font-style: italic !important;
}

.hljs-selector-tag,
.hljs-symbol,
.hljs-name,
.hljs-attr {
    color: #f74449 !important;
}

.hljs-keyword,
.hljs-attribute {
    color: #66d9ef !important;
}

.hljs-params,
.hljs-class .hljs-title {
    color: #f8f8f2 !important;
}

.hljs-string,
.hljs-type,
.hljs-selector-id,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-addition,
.hljs-variable,
.hljs-template-variable {
    color: #e6db74 !important;
}

.hljs-comment,
.hljs-deletion {
    color: #999 !important;
}

/* 标签列表 */

#taglist_main {
    margin-top: 0px;
    table {
        width: 100%;
        tr td {
            padding: 5px 20px 5px 0px;
            .small {
                display: none;
            }
        }
        tr td a {
            display: inline-block;
            font-size: 12px;
            line-height: 1;
            padding: 5px;
            margin: 0;
            width: 100%;
            text-align: center;
            border: 1px solid #e0e0e0;
            border-radius: 2px;
            color: rgba(0, 0, 0, .65);
            background-color: rgba(255, 255, 255, .97);
            &:hover {
                color: @base-color  !important;
                border: 1px solid @base-color;
                text-decoration: none;
            }
        }
    }
}

/* 分页 */

.topicListFooter {
    margin-right: 0px;
}

.pager,
#nav_next_page {
    margin-right: 0px;
    color: #515a6e;
    a {
        padding: 3px 7px;
        border: 1px solid #dcdee2;
        border-radius: 4px;
        font-family: Monospaced Number;
        margin: 0 3px;
        text-decoration: none;
        color: #515a6e;
        transition: border .2s ease-in-out, color .2s ease-in-out;
        &:hover {
            color: @base-color;
            border: 1px solid @base-color;
        }
    }
}

.pager span.current {
    padding: 3px 7px;
    border: 1px solid #fff;
    border-radius: 4px;
    font-family: Monospaced Number;
    margin: 0 3px;
    text-decoration: none;
    background-color: @base-color;
}

/* 代码复制 */

.esa-clipboard-button {
    font-size: 12px;
    color: #c7c7c7;
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 5px;
}

/* 关注按钮 */

.esa-follow-button {
    z-index: 999;
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    height: 45px;
    width: 45px;
    font-weight: 400;
    outline: none;
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-size: 12px;
    border-radius: 50px;
    transition: color .2s linear, background-color .2s linear, border .2s linear, box-shadow .2s linear;
    color: #515a6e;
    background-color: #fff;
    border-color: #dcdee2;
    &:hover {
        color: @base-color;
        border-color: @base-color;
        background-color: #fff;
    }
}

/* 菜单 */

.esa-mobile-menu {
    display: none;
    position: fixed;
    top: 7px;
    right: 15px;
    z-index: 941113;
    font-size: 1.5em;
    cursor: pointer;
    color: #7f7f7f;
    &:after {
        content: '\2630';
        font-size: 1.5em;
        font-family: 'fontello';
    }
}

/* 目录 */

.esa-catalog {
    position: fixed;
    top: 120px;
    right: 1px;
    width: auto;
    height: auto;
    background-color: #fff;
    z-index: 999999;
}

.esa-catalog-tab {
    cursor: pointer;
    display: none;
    padding: 7px 2px 7px 2px;
    float: right;
    width: 25px;
    color: @font-color;
    font-size: 14px;
    border: 1px solid #dcdee2;
    border-radius: 3px;
    text-align: center;
}

.esa-catalog-title {
    cursor: move;
    padding-left: 12px;
    width: 100%;
    height: 35px;
    line-height: 36px;
    border-bottom: 1px solid @border-color;
    font-size: 14px;
    color: @font-color;
    overflow: hidden;
}

.esa-catalog-close {
    position: absolute;
    right: 15px;
    top: 10px;
    cursor: pointer;
    text-decoration: none;
}

.esa-catalog-contents {
    overflow: hidden;
    display: none;
    color: @font-color;
    border: 1px solid #dcdee2;
    border-radius: 3px;
    min-width: 150px;
    opacity: 1;
    font-size: inherit;
    background-color: #fff;
    z-index: 19941112;
    ul {
        padding: 10px 15px;
        max-height: 350px;
        overflow-y: auto;
        li {
            margin-top: 5px;
            max-width: 170px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            cursor: pointer;
            a:hover {
                color: @base-color;
                text-decoration: none;
            }
            .level1 {
                margin-left: 0px;
            }
            .level2 {
                margin-left: 10px;
            }
            .level3 {
                margin-left: 26px;
            }
        }
    }
}

.esa-anchor {
    opacity: 0;
    -webkit-transition: opacity .3s ease;
    transition: opacity .3s ease;
    margin-left: 8px;
}

/* 签名 */

.esa-post-signature {
    padding: 12px 24px 12px 30px;
    margin-top: 15px;
    margin-left: 5px;
    border-left-width: 4px;
    font-size: 15px;
    line-height: 2;
    border-left-style: solid;
    background-color: #f8f8f8;
    position: relative;
    border-bottom-right-radius: 2px;
    border-top-right-radius: 2px;
    border-left-color: #f66;
    z-index: 1;
    &:before {
        content: "!";
        background-color: #f66;
        position: absolute;
        top: 25px;
        left: -12px;
        color: #fff;
        width: 20px;
        height: 20px;
        border-radius: 100%;
        text-align: center;
        line-height: 20px;
        font-weight: bold;
        font-size: 14px;
    }
    a {
        color: @font-color  !important;
    }
}

/* 消息 */

.esa-layer {
    position: fixed;
    top: 5px;
    text-align: center;
    line-height: 25px;
    font-size: 15px;
    font-family: inherit;
    width: 100%;
    display: none;
    z-index: 9999999;
}

.esa-layer-content {
    position: relative;
    background: rgba(0, 0, 0, .7);
    max-width: 250px;
    padding: 3px 9px;
    font-size: 13px;
    border-radius: 5px;
    color: #FFF;
    display: inline-block;
}

/* 赞赏弹出层 */

.esa-reward {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    padding-bottom: 30px;
    background: #fff;
    box-shadow: 0 0 0 2000px rgba(0, 0, 0, .65);
    border-radius: 4px;
    z-index: 1000000;
    h2 {
        text-align: center;
        font-size: 20px;
        color: #666;
        font-weight: normal;
        margin: 20px 0 10px 0;
    }
    p {
        text-align: center;
    }
    .esa-reward-container {
        margin: 0 30px;
        text-align: center;
    }
    .wechat,
    .alipay {
        position: relative;
        display: inline-block;
        width: 200px;
        height: 200px;
        padding: 10px;
        border: 5px solid #ff7300;
        border-radius: 10px;
        box-sizing: border-box;
        margin: 10px;
        &:after {
            content: '';
            position: absolute;
            left: 30px;
            bottom: -12px;
            color: #666;
            background: #fff;
            padding: 0 10px;
            font-size: 16px;
            width: auto;
            text-align: center;
        }
        img {
            width: 100%;
            width: 170px;
            height: 170px;
        }
    }
    .alipay:after {
        content: '支付宝，扫一扫';
    }
    .wechat:after {
        content: '微信，扫一扫';
    }
}

.esa-reward-close {
    position: absolute;
    font-size: 30px;
    color: #999;
    top: 0;
    right: 0px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    transform: rotate(45deg);
    &:hover {
        transition: all .2s;
        color: #bbb;
    }
    &:active {
        transition: all .2s;
        color: #666;
    }
}

/* 推荐|反对|赞赏 */

#div_digg {
    position: static;
    float: none;
    margin: 75px auto;
    z-index: -1;
    width: 370px;
    .favorite,
    .reward,
    .diggit,
    .buryit {
        background: #FFF;
        margin: 0;
        display: inline-block;
        width: auto;
        height: 32px;
        border-width: 0px;
        cursor: pointer;
        color: #fff;
        user-select: none;
        padding: 0px 10px;
        border-radius: 5px;
        transition: color .2s linear, background-color .2s linear, border .2s linear, box-shadow .2s linear;
    }
    .favorite {
        background-color: #2db7f5;
        border-color: #2db7f5;
        margin: 0 5px;
        &:hover {
            background-color: #57c5f7;
            border-color: #57c5f7;
        }
    }
    .reward {
        background-color: #e13d13;
        border-color: #e13d13;
        margin: 0 5px;
        &:hover {
            background-color: #f16643;
            border-color: #f16643;
        }
    }
    .diggit {
        background-color: #18b566;
        border-color: #18b566;
        &:hover {
            background-color: #47cb89;
            border-color: #47cb89;
        }
    }
    .buryit {
        background-color: #f90;
        border-color: #f90;
        &:hover {
            background-color: #ffad33;
            border-color: #ffad33;
        }
    }
}

#div_digg .favorite .favoritenum,
#div_digg .reward .rewardnum,
#div_digg .diggit .diggnum,
#div_digg .buryit .burynum {
    color: #fffafa;
    display: inline-block;
    font-size: 15px;
    position: relative;
    top: 5px;
    width: 65px;
}

#div_digg .favorite .favoritenum:before {
    content: '收藏';
    font-size: 15px;
}

#div_digg .reward .rewardnum:before {
    content: '赞赏';
    font-size: 15px;
}

#div_digg .diggit .diggnum:before {
    content: '推荐';
    font-size: 15px;
    margin-right: 5px;
}

#div_digg .buryit .burynum:before {
    content: '反对';
    font-size: 15px;
    margin-right: 5px;
}

/* 评论区 */

.feedbackCon {
    background: none;
    padding: 10px 0px 10px 0px;
    border-bottom: 1px solid @border-color;
    .esa-comment-avatar {
        float: left;
        margin-right: 10px;
        img {
            border-radius: 50%;
            transition: all 0.5s ease-out;
            -webkit-transition: all 0.6s ease-out;
            -moz-transition: all 0.5s ease-out;
            -ms-transition: all 0.5s ease-out;
            -o-transition: all 0.5s ease-out;
            &:hover {
                -webkit-transform: rotateZ(360deg);
                -moz-transform: rotateZ(360deg);
                -ms-transform: rotateZ(360deg);
                -o-transform: rotateZ(360deg);
                transform: rotateZ(360deg);
            }
        }
    }
    .blog_comment_body {
        border-radius: 8px;
        padding: 8px;
        margin-top: 5px;
        margin-right: 10px;
        margin-left: 6px;
        font-size: 13px;
        display: block;
        color: #434b69;
        background-color: rgba(193, 193, 193, 0.2);
        width: auto;
    }
    .comment_vote {
        margin-top: 12px;
    }
}

.feedback_area_title {
    border-bottom: 1px solid @border-color;
    margin-bottom: 15px;
}

.commentbox_title_left,
div.commentform p {
    display: none;
}

.commentbox_title_right {
    height: 25px;
    float: left;
}

#comments_pager_top {
    display: none;
}

#commentbox_opt {
    display: block !important;
}

div.commentform textarea {
    width: 100% !important;
    height: 200px !important;
    border: 1px solid @border-color;
    border-radius: 6px;
    padding: 5px;
    font-family: inherit;
    font-size: 14px;
    resize: none;
    box-sizing: border-box;
    &:focus {
        outline: 0;
    }
    &:hover {
        border-color: @base-color;
    }
}

#btn_comment_submit {
    width: auto;
    height: auto;
    border-width: 0px;
    cursor: pointer;
    color: #fff;
    background-color: @base-color;
    border-color: @base-color;
    user-select: none;
    padding: 5px 20px;
    font-size: 12px;
    border-radius: 5px;
    transition: color .2s linear, background-color .2s linear, border .2s linear, box-shadow .2s linear;
    &:hover {
        color: #fff;
        background-color: #57a3f3;
        border-color: #57a3f3;
    }
}

/* Github 角标 */

.github-corner:hover .octo-arm {
    animation: octocat-wave 560ms ease-in-out
}

@keyframes octocat-wave {
    0%,
    100% {
        transform: rotate(0)
    }
    20%,
    60% {
        transform: rotate(-25deg)
    }
    40%,
    80% {
        transform: rotate(10deg)
    }
}

@media (max-width:500px) {
    .github-corner:hover .octo-arm {
        animation: none
    }
    .github-corner .octo-arm {
        animation: octocat-wave 560ms ease-in-out
    }
}

::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

::-webkit-scrollbar-thumb {
    border-radius: 1px;
    box-shadow: inset 0 0 5px @font-color;
    background: @font-color;
}

::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 1px;
}

::selection,
::-moz-selection {
    color: @base-color;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@media screen and (min-width:768px) and (max-width:980px) {
    #blog-comments-placeholder,
    #comment_form {
        padding: 10px;
        margin-left: 0px;
    }
}

@media only screen and (max-width:767px) {
    body {
        font-size: 12px !important;
    }
    #mainContent {
        .forFlow {
            padding-top: 15px;
        }
    }
    #sideBar,
    .postDesc,
    .esa-catalog {
        display: none;
    }
    .postBody {
        padding: 0px !important;
    }
    #main {
        margin-top: 60px;
        padding: 0 15px !important;
    }
    #topics .postTitle {
        padding-left: 0px !important;
        padding-top: 10px;
    }
    #cnblogs_post_body {
        table {
            display: table !important;
        }
        img {
            width: 100%;
            max-width: none !important;
        }
    }
    #commentbox_main,
    #comment_nav {
        margin: 0px;
    }
    #comment_form {
        padding: 5px;
        margin-left: 0px;
    }
    .esa-mobile-menu {
        display: block;
    }
    .forFlow {
        margin-right: 0px;
        margin-left: 0px !important;
    }
    #header {
        width: auto;
        #blogTitle h1 {
            padding-left: 42px;
        }
        #navigator {
            display: none;
            width: 100%;
            margin-top: 60px;
        }
    }
    #navList {
        width: inherit;
        li {
            float: none;
            #blog_nav_tags {
                display: block !important;
            }
        }
        a {
            &:link,
            &:visited,
            &:active {
                width: 100%;
                background-color: #2c3e50;
                color: #fff !important;
                padding: 15px 0;
            }
            &:hover {
                color: @base-color ;
                background-color: #2c3e50 !important;
            }
        }
    }
    .feedbackItem .feedbackManage {
        width: auto;
    }
    .github-corner svg {
        fill: transparent !important;
        color: #404040 !important;
        top: 10px !important;
        left: -8px !important;
        -webkit-transform: rotate(-45deg) !important;
        transform: rotate(-45deg) !important;
    }
}

@media only screen and (max-width:410px) {
    #div_digg {
        display: grid;
        width: 100%;
        .reward,
        .favorite,
        .diggit,
        .buryit {
            margin: 5px 0px;
        }
    }
}